package com.kotlin.usermodel.data.api

import com.kotlin.baselibrary.data.protocol.BaseResponse
import com.kotlin.usermodel.data.protocol.RegisterRequest
import io.reactivex.Observable
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * @author       zhipe
 * @createTime    2020/10/12
 * @description
 */
interface UserApi {
    @POST("userCenter/register")
    fun register(@Body request: RegisterRequest): Observable<BaseResponse<Boolean>>



}